package com.enmo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ETree entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "e_tree", catalog = "enmo")
public class ETree implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields

	private Integer TId;
	private Integer TPid;
	private String TName;
	private String TOpen;
	private String TClick;
	private String TUrl;
	private String TTarget;

	// Constructors

	/** default constructor */
	public ETree() {
	}

	/** minimal constructor */
	public ETree(Integer TId) {
		this.TId = TId;
	}

	/** full constructor */
	public ETree(Integer TId, Integer TPid, String TName, String TOpen,
			String TClick, String TUrl, String TTarget) {
		this.TId = TId;
		this.TPid = TPid;
		this.TName = TName;
		this.TOpen = TOpen;
		this.TClick = TClick;
		this.TUrl = TUrl;
		this.TTarget = TTarget;
	}

	// Property accessors
	@Id
	@Column(name = "t_id", unique = true, nullable = false)
	public Integer getTId() {
		return this.TId;
	}

	public void setTId(Integer TId) {
		this.TId = TId;
	}

	@Column(name = "t_pid")
	public Integer getTPid() {
		return this.TPid;
	}

	public void setTPid(Integer TPid) {
		this.TPid = TPid;
	}

	@Column(name = "t_name", length = 50)
	public String getTName() {
		return this.TName;
	}

	public void setTName(String TName) {
		this.TName = TName;
	}

	@Column(name = "t_open", length = 50)
	public String getTOpen() {
		return this.TOpen;
	}

	public void setTOpen(String TOpen) {
		this.TOpen = TOpen;
	}

	@Column(name = "t_click", length = 50)
	public String getTClick() {
		return this.TClick;
	}

	public void setTClick(String TClick) {
		this.TClick = TClick;
	}

	@Column(name = "t_url", length = 50)
	public String getTUrl() {
		return this.TUrl;
	}

	public void setTUrl(String TUrl) {
		this.TUrl = TUrl;
	}

	@Column(name = "t_target", length = 50)
	public String getTTarget() {
		return this.TTarget;
	}

	public void setTTarget(String TTarget) {
		this.TTarget = TTarget;
	}

}